package com.entity;

/**
 * Created by Administrator on 2017/3/16.
 */
public class Exam {
    private String examtype;
    private String examcontent;
    private String examwarn;

    public String getExamtype() {
        return examtype;
    }

    public void setExamtype(String examtype) {
        this.examtype = examtype;
    }

    public String getExamcontent() {
        return examcontent;
    }

    public void setExamcontent(String examcontent) {
        this.examcontent = examcontent;
    }

    public String getExamwarn() {
        return examwarn;
    }

    public void setExamwarn(String examwarn) {
        this.examwarn = examwarn;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        Exam exam = (Exam) o;

        if (examtype != null ? !examtype.equals(exam.examtype) : exam.examtype != null) return false;
        if (examcontent != null ? !examcontent.equals(exam.examcontent) : exam.examcontent != null) return false;
        if (examwarn != null ? !examwarn.equals(exam.examwarn) : exam.examwarn != null) return false;

        return true;
    }

    @Override
    public int hashCode() {
        int result = examtype != null ? examtype.hashCode() : 0;
        result = 31 * result + (examcontent != null ? examcontent.hashCode() : 0);
        result = 31 * result + (examwarn != null ? examwarn.hashCode() : 0);
        return result;
    }
}
